
local getmetatable = getmetatable
local setmetatable = setmetatable
local module = module
local require = require
local print = print
local type = type
local error = error
local string = string
local pcall = pcall
local tonumber = tonumber

module('eg.music.Display')
_VERSION='0.1'

local RowFixture = require('fit.RowFixture')
local MusicLibrary = require('eg.music.MusicLibrary')

local function query(self)
    return self.music:displayContents()
end

function __call()
    local display = RowFixture()

    display.music = MusicLibrary()
    display.query = query

    return display
end

setmetatable(_M, _M)
